<template>
	<div id="app">
		<router-view />
	</div>
</template>

<script>
export default {
	name: "app",
	created(){
		sessionStorage.token='123456'
		if(sessionStorage.token==''||sessionStorage.token==undefined||sessionStorage.token==null){
			this.$router.push({'path':'/login'})
		}else{
			this.$router.push({'path':'/index'})
		}
	}
};
</script>

<style>
</style>
